home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 11
/
Cream of the Crop 11-1.iso
/
comm
/
110a115a.zip
/
SCRIPTS.ZIP
/
PATH.SLT
< prev
next >
Wrap
Text File
|
1995-12-21
|
1KB
|
22 lines
/****************************************************************/
/* */
/* Demo of how to use and manipulate the DOS path and current */
/* directory used by the TFW application (not other apps). */
/* */
/* Copyright 1995 deltaComm Development, Inc. */
/* */
/****************************************************************/
main()
{
str ss[30], st[30];
inputbox("", "Filename: ", st); // Get filename from user
fnstrip(st, 12, ss); // Strip user input to PATH only
printsc("Path = ");
prints(ss); // Display the results
fnstrip(st, 11, ss); // Strip user input to extention only
if (ss="slt") // If the user named SALT source file
compilescript(st); // then compile it!
}